//
//  RJUserData.h
//  AirQuality
//
//  Created by Po on 15/3/10.
//  Copyright (c) 2015年 Po. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RJUserData : NSObject

@property (assign, readonly, nonatomic) BOOL isLogined;           //已经登陆
@property (assign, nonatomic) BOOL isDone;                        //已经提交
@property (assign, nonatomic) BOOL isAudit;                       //已经审核
@property (assign)           BOOL isYearData;                   //年数据
@property (assign, nonatomic) BOOL isHistory;                     //有历史记录
@property (assign, nonatomic) BOOL isTabbarShow;                  //标签栏显示状态
@property (assign, nonatomic) BOOL isProvince;                    //省站人员
@property (assign, nonatomic) BOOL isRequestMessage;              //是否请求了通知数据
@property (retain, nonatomic) NSString * currentCity;             //当前城市
@property (retain, nonatomic) NSString * currentCityCode;         //当前城市编号

@property (retain, nonatomic) NSString * messageTime;             //消息事件
@property (retain, nonatomic) NSMutableArray * messageData;       //消息数据
@property (strong, nonatomic) NSString * paoPaoName;

/**获取实例唯一类方法*/
+ (instancetype)defaultRJUserData;

/**设置登陆状态*/
- (void)setLoginState:(BOOL)isLogin;

/**获取最新消息*/
- (void)updateMessageData;

/**消息通知开关*/
- (void)setMessageNotifaction:(BOOL)isOn complect:(void(^)(BOOL result))complectBlock;

@end
